package com.zzj.service;

import com.zzj.entity.Chat;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 聊天表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-05-13
 */
public interface IChatService extends IService<Chat> {
    boolean createChat(String fromUsername,String toUsername,String message,int type,int size);

    Chat lastChat(String fromUsername,String toUsername);
}
